# Author: Yunqiao Zhang
# Email: zhangyunqiao@gmail.com

from django import template
from meet001.meetup.location import code_to_location
# Start a custom template tags
register = template.Library()

@register.filter(name='code_to_location')
def code2location(value):
  city, district = code_to_location[value]
  return city + district
